package cn.springcloud.fix.auth.controller;

import cn.springcloud.fix.common.core.base.R;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
// @RequestMapping("/login")
public class LoginController {

    // @RequestMapping("/login")
    // public R<Object> login(Object o) {
    //     return R.SUCCESS();
        // BCryptPasswordEncoder encoder = new BCryptPasswordEncoder(10);
        // String encoderPasswd = encoder.encode(password);
        // return R.SUCCESS(encoderPasswd);
    // }
}
